/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utility;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.io.WritableComparator;

/**
 *
 * @author takeshi
 */
@Deprecated
public class HomoWritable<T> implements WritableComparable<T> {


//       public static class Comparator  extends WritableComparator  {
//
//        public Comparator () {
//           // super();
//            //compiled code
//            throw new RuntimeException("Compiled Code");
//        }
//
//        public int compare(byte[] b1, T s1, T l1, byte[] b2, T s2, T l2) {
//            //compiled code
//            throw new RuntimeException("Compiled Code");
//        }
//    }
    private int value;

    public HomoWritable () {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public HomoWritable (T value) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void set(T value) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public T get() {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void write(DataOutput out) throws IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void readFields(DataInput in) throws IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int compareTo(Object o) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
